Linear Second-Order Uni cation
نویسنده
چکیده
We present a new class of second-order uniication problems, which we have called linear. We deal with completely general second-order typed uniication problems, but we restrict the set of uniiers under consideration: they instantiate free variables by linear terms, i.e. terms where any-abstractions bind one and only one occurrence of a bound variable. Linear second-order uniication properly extends context uniication studied by Comon and Schmidt-Schauu. We describe a sound and complete procedure for this class of uniication problems and we prove termination for three diierent subcases of them. One of these subcases is obtained requiring Comon's condition, another corresponds to Schmidt-Schauu's condition, (both studied previously for the case of context uniication, and applied here to a larger class of problems), and the third one is original, namely that free variables occur at most twice.
منابع مشابه
Decidable Higher-Order Unification Problems
Second order uni cation is undecidable in general Miller showed that uni cation of so called higher order patterns is decidable and unitary We show that the uni cation of a linear higher order pat tern s with an arbitrary second order term that shares no variables with s is decidable and nitary A few extensions of this uni cation problem are still decidable unifying two second order terms where...
متن کاملLinear Second - Order Uni cation and ContextUni cation with Tree - Regular Constraints ?
Linear Second-Order Uniication and Context Uniication are closely related problems. However, their equivalence was never formally proved. Context uniication is a restriction of linear second-order uniication. Here we prove that linear second-order uniication can be reduced to context uniication with tree-regular constraints. Decidability of context uniication is still an open question. We comme...
متن کاملSolving higher order equations: from logic to programming
Higher order constructs provide the necessary level of abstraction for concise and natural formulations in many areas of computer science We present constructive methods for higher order equational reasoning with applications ranging from theorem proving to novel programming concepts A major problem of higher order programming is the undecidability of higher order uni cation In the rst part we ...
متن کاملDecidable Higher-Order Uni cation Problems
Second-order uniication is undecidable in general. Miller showed that uniication of so-called higher-order patterns is decidable and unitary. We show that the uniication of a linear higher-order pattern s with an arbitrary second-order term that shares no variables with s is decidable and nitary. A few extensions of this uniication problem are still decidable: unifying two second-order terms, w...
متن کاملHigher-Order Narrowing
We introduce several approaches for solving higher order equational problems by higher order narrow ing and give rst completeness results The results apply to higher order functional logic programming languages and to higher order uni cation modulo a higher order equational theory We lift the general notion of rst order narrow ing to so called higher order patterns and argue that the full highe...
متن کاملAlgorithmic Structuring of Cut-free Proofs
The problem of algorithmic structuring of proofs in the sequent calculi LK and LKB LK where blocks of quanti ers can be introduced in one step is investigated where a distinction is made between linear proofs and proofs in tree form In this framework structuring coincides with the introduction of cuts into a proof The algorithmic solvability of this problem can be reduced to the question of k l...
متن کامل